FernleafSystems\Wordpress\Plugin\Shield\Modules\IPs\Lib\CrowdSec\CrowdSecApi A

Total Complexity 62
Dependencies 16
Dependents 1
Total lines 332
Lines of code 260
Logical lines of code 133
Comment lines 19
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
login()
A
42 11 59
getAuthStatus()
A
47 11 37
machineEnroll()
S
48 6 33
authStart()
S
50 6 27
machineLogin()
S
55 5 18
getScenarios()
S
60 5 13
generateCrowdsecPassword()
S
58 4 14
machineRegister()
S
56 3 19
storeCsAuth()
S
58 3 15
getCsAuths()
S
74 2 4
getApiUserAgent()
S
74 2 4
isReady()
S
69 1 8
getAuthorizationToken()
S
79 1 3
getMachineID()
S
79 1 3
getCsAuth()
S
79 1 3